package com.example.behaviour.visitor.simple;

/**
 * @Author douhy
 * @description 业务类
 * @date 22/01/14
 */
public class Dog{

    private String name;

    private String color;
    public void eat(Eat eat)  {
        String s = eat.eatFood();
        System.out.println("吃" + s + "!!!");
    }


}
